home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 9 / The PC-SIG Library on CD ROM - Ninth Edition.iso / 1301_400 / DISK1340 / DISK1340.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1988-04-07  |  4KB  |  118 lines

  1. echo off
  2. echo Install PC-Project
  3. echo *
  4. if not "%1" == "" goto swoop
  5. echo Usage:  INSTALL followed by drive letter, no colon.
  6. echo         (With PC-Project system disk in default drive)
  7. echo e.g.    "INSTALL B" would be used to make a floppy work disk.
  8. echo         "INSTALL C" installs PC-Project on your hard disk.
  9. goto end
  10. :swoop
  11. if "%1" == "a" goto floppy
  12. if "%1" == "A" goto floppy
  13. if "%1" == "b" goto floppy
  14. if "%1" == "B" goto floppy
  15. echo Install PC-Project on %1 drive
  16. echo *
  17. if exist %1:\pcp\pcproj.exe goto already
  18. echo This procedure will create a directory on the %1 disk called \PCP.
  19. echo It will then place all programs and necessary files in this 
  20. echo directory.  Press ctrl-break to cancel installation.
  21. pause
  22. md %1:\pcp
  23. cd %1:\pcp
  24. goto merge
  25. :already
  26. echo This procedure will copy updated PC-Project files into your
  27. echo %1:\pcp directory.  No harm will come to your own data files.
  28. echo Press ctrl-break to cancel installation.
  29. pause
  30. cd %1:\pcp
  31. goto merge
  32. :floppy
  33. echo Install PC-Project on a floppy disk.
  34. echo To make a PC-Project work disk, you first need to FORMAT the disk.
  35. yesno Have you already formatted your disk
  36. echo *
  37. if not ERRORLEVEL 1 goto skip1
  38. echo Following instructions in your DOS documentation, format your new 
  39. echo PC-Project work disk with the /s option, then put the PC-Project 
  40. echo release disk back in drive A, and type "install %1" at the A prompt.
  41. goto end
  42. :skip1
  43. echo Put newly formatted disk in drive %1.  Press ctrl-break to cancel.
  44. pause
  45. :merge
  46. echo *
  47. echo Installing program files
  48. copy pcproj.exe %1:
  49. copy pcproj.hlp %1:
  50. copy sample %1:
  51. copy form.doc %1:
  52. copy readme.doc %1:
  53. echo *
  54. :bscreen
  55. echo Installing screen drivers.  You will be asked what type of screen
  56. echo you have.  There will be up to three questions.  Answer "Y" to the 
  57. echo question that describes your system, "N" to any other questions.
  58. echo The choices will be a) Monochrome or Hercules card, b) Color Graphics 
  59. echo adapter, or c) Black and white (Compaq, for example).
  60. echo *
  61. yesno Do you have a Monochrome system 
  62. if ERRORLEVEL 1 goto skip4
  63. echo Installing MONO screen driver
  64. copy mono.def %1:pcproj.def
  65. goto escreen
  66. :skip4
  67. yesno Do you have a color system
  68. if ERRORLEVEL 1 goto skip3
  69. echo Installing COLOR screen driver
  70. copy color.def %1:pcproj.def
  71. goto escreen
  72. :skip3
  73. yesno Do you have a black and white system 
  74. if ERRORLEVEL 1 goto skip2
  75. echo Installing BW screen driver
  76. copy bw.def %1:pcproj.def
  77. goto escreen
  78. :skip2
  79. echo You only get 3 choices.  Pick one, and if it doesn't work, try again
  80. goto bscreen
  81. :escreen
  82. echo *
  83. echo The PC-Project manual is about 80 pages long.  If your printer is loaded
  84. echo with at least 80 pages of continuous forms, you may print it now.
  85. echo Print the manual by putting the PC-Project documentation disk in drive A 
  86. echo and typing "COPY A:PCPROJ.DOC PRN".  Even if you don't need the manual, 
  87. echo you should type "COPY A:FORM.DOC PRN" for a registration form and 
  88. echo additional information not in the manual, if any (only 5 pages). 
  89. echo *
  90. if "%1" == "a" goto floppy2
  91. if "%1" == "A" goto floppy2
  92. if "%1" == "b" goto floppy2
  93. if "%1" == "B" goto floppy2
  94. echo To run PC-Project, type the following:
  95. echo     %1:      (return)
  96. echo     cd \pcp  (return) 
  97. echo     pcproj   (return)
  98. echo If you add "%1:\pcp;" to the path command in your autoexec.bat file
  99. echo then you can forget about the first two steps above. 
  100. goto bye
  101. :floppy2
  102. echo To run PC-Project, put your work disk, now in drive %1, in drive A,
  103. echo then type the following:
  104. echo     a:       (return)
  105. echo     pcproj   (return)
  106. :bye
  107. echo *
  108. echo One thing to remember:  You are encouraged to share PC-Project with
  109. echo your friends.  When you do however, give them an exact copy of both the 
  110. echo PC-Project system disk and the PC-Project documentation disk, not your 
  111. echo work disk.  And please don't photocopy the printed manual.
  112. echo *
  113. echo Good luck with PC-Project, and thanks for supporting shareware.
  114. :end
  115.  
  116.  
  117.  
  118.